package com.smart.community.parking;

import com.smart.community.parking.config.ParkingFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 停车管理服务启动类
 * 
 * @author Wu.Liang
 * @since 2024-12-21
 */
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.smart.community.feign", defaultConfiguration = ParkingFeignConfig.class)
@MapperScan(basePackages = "com.smart.community.parking.mapper")
@SpringBootApplication(scanBasePackages = { "com.smart.community.parking", "com.smart.community.commons" })
public class ParkingApplication {
	public static void main(String[] args) {
		SpringApplication.run(ParkingApplication.class, args);
	}
} 